<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Zizaco\Entrust\Traits\EntrustUserTrait;

class WxUser extends Model
{
    use EntrustUserTrait;
    
    protected $table = 'wx_user';
    
    public $timestamps = false; //时间戳
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'openid','phone' ,'username','nickname', 'sex','headimgurl','city','province','country','addtime'
    ];
    
    
    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'remember_token',
    ];
}
